Identification of replay segments

ABSTRACT

Identification of segments based upon scoreboards and logos.

This application claims the benefit of U.S. Patent Application Ser. No. 60/345,001, filed on Oct. 19, 2001.

BACKGROUND OF THE INVENTION

The present invention primarily relates to replay detection techniques.

The amount of video content is expanding at an ever increasing rate, some of which includes sporting events. Simultaneously, the available time for viewers to consume or otherwise view all of the desirable video content is decreasing. With the increased amount of video content coupled with the decreasing time available to view the video content, it becomes increasingly problematic for viewers to view all of the potentially desirable content in its entirety. Accordingly, viewers are increasingly selective regarding the video content that they select to view. To accommodate viewer demands, techniques have been developed to provide a summarization of the video representative in some manner of the entire video. Video summarization likewise facilitates additional features including browsing, filtering, indexing, retrieval, etc. The typical purpose for creating a video summarization is to obtain a compact representation of the original video for subsequent viewing.

There are two major approaches to video summarization. The first approach for video summarization is key frame detection. Key frame detection includes mechanisms that process low level characteristics of the video, such as its color distribution, to determine those particular isolated frames that are most representative of particular portions of the video. For example, a key frame summarization of a video may contain only a few isolated key frames which potentially highlight the most important events in the video. Thus some limited information about the video can be inferred from the selection of key frames. Key frame techniques are especially suitable for indexing video content but are not especially suitable for summarizing sporting content.

The second approach for video summarization is directed at detecting events that are important for the particular video content. Such techniques normally include a definition and model of anticipated events of particular importance for a particular type of content. The video summarization may consist of many video segments, each of which is a continuous portion in the original video, allowing some detailed information from the video to be viewed by the user in a time effective manner. Such techniques are especially suitable for the efficient consumption of the content of a video by browsing only its summary. Such approaches facilitate what is sometimes referred to as “semantic summaries”.

Babaguchi et al. propose a technique to link live and replay scenes in American football broadcast video. The replay scenes are detected by the sandwiching of digital video effects (DVEs) on either side of the replay segment. Babaguchi et al. note that it is impossible to design a general detector applicable to all DVEs, because there are a considerable number of DVE patterns that appear in everyday broadcasts. The DVE effect taught by Babaguchi et al. is a gradual shot change operation related to spatial aspects. The linking of live and replay scenes is performed based upon the dominant color of the key frame and the ratio of the number of vertical lines to that of horizontal lines on the field, which is representative of the camera angle. In effect, Babaguchi et al. detect replay segments by detecting special transition effects, by the manipulation of two natural scenes from the game, usually as a unique type of wipe. The technique for lining using the technique taught by Babaguchi et al., namely using the ratio, is suitable for the intended application, namely, American Football. In addition, the use of motion vectors and segmented spatial regions are inherently unreliable, and the technique can not automatically detect the transitions if the features of the transitions are not previously known.

Pan et al. propose a technique to detect slow-motion replay segments in sports video for highlights generation. The technique localizes semantically important events in sport programs by detecting slow motion replays of these events, and then generates highlights of these events at multiple levels. A hidden Markov model is used to model slow motion replays, and an inference algorithm computes the probability of a slow motion replay segment, and localizes the boundaries of the segment as well. The technique characterizes the pattern of slow motion as discontinuity on pixel wise intensity-based differences of adjacent frames that could be described by three features, and characterizes boundaries of replays segments as another feature: video-evolution ratio that is extracted from color histograms. The hidden-Markov model is applied to make the final decision on slow motion and the boundary of segments containing slow motion replay. However, the technique taught by Pan et al. is limited only to the detection of slow motion replay segments. The system taught by Pan et al. is unable to detect replay segments that are played back at the regular video rate, which are common in sports broadcast.

What is desired, therefore, is a robust replay detection technique.

BRIEF DESCRIPTION OF THE DRAWINGS

FIG. 1 illustrates a starting logo transition, a replay segment, and an ending logo transition, all after an important event.

FIG. 2 illustrates a starting logo transition in the CBS 2000 Super Bowl broadcast, containing the CBS logo and the Super Bowl logo.

FIG. 3 illustrates an ending logo transition in the CBS 2000 Super Bowl broadcast, containing the CBS logo and the Super Bowl logo.

FIG. 4 illustrates logo identification.

FIG. 5 illustrates summarization based upon logo transitions.

FIG. 6 illustrates multiple logo transitions.

FIG. 7 illustrates general logo template identification.

FIG. 8 illustrates multiple logo search areas.

FIG. 9 is a flow diagram showing the components of unsupervised detection of the logo template.

FIG. 10 illustrates a 2-slow motion technique.

FIG. 11 illustrates a pair of slow motion detections.

FIG. 12 illustrates pixelwise intensity-based MSDs using a frame index.

FIG. 13 illustrates pixelwise intensity-based MSDs using a histogram.

FIG. 14 illustrates two configuration of bins on one dimension of the color space.

FIG. 15 illustrates relations between detected slow motions and logo frames.

FIG. 16 illustrates a normalized histogram of the length of the replays (solid curve) and the Rayleigh distribution (dashed curve).

FIG. 17 shows examples of scoreboards of a football broadcast video from two broadcasters.

FIG. 18 shows an image obtained by averaging 3500 frames.

FIG. 19 shows steps of first training resulting in a template.

FIG. 20 shows binary edge images.

FIG. 21 shows an inference process.

FIG. 22 shows an input image at the scoreboard area.

FIG. 23 shows the distribution of black frames in a video.

FIG. 24 shows cluster detection.

FIG. 25 illustrates a summary construction.

FIG. 26 shows an MPEG-7 browser and filter.

FIG. 27 shows a video processing system.

DETAILED DESCRIPTION OF THE PREFERRED EMBODIMENT

It is conceivably possible to develop highly sophisticated models of a typical sports video to identify potentially relevant portions of the video, and many attempts have been made. However, such highly sophisticated models are difficult to create and are not normally robust. Further, the likelihood that a majority of the highly relevant portions of the video will be included in such a video summarization is low because of the selectivity of the model. Thus the resulting video summarization of the video may simply be unsatisfactory to the average viewer.

After consideration of the difficulty of developing highly sophisticated models of a sports based video to analyze the content of the sporting events, as the sole basis upon which to create a summarization, the present inventors determined that this technique is ultimately flawed as the models will likely never be sufficiently robust to detect all the desirable content. Moreover, the number of different types of model sequences of potentially desirable content is difficult to quantify. In contrast to attempting to detect particular model sequences, the present inventors determined that the desirable segments of a sporting event are preferably selected based upon characteristics of the broadcast video. The characteristics of the broadcast video which the present inventors identified as providing an indication of an exciting portion of the sporting event is the “replay”. Furthermore, the present inventors determined that the “replay” within sporting activities may be identified based upon the presentation by the broadcaster of a logo, together with any special effects if any, during the transition between the “live” and the “replay” events. Frequently the logos include trademarks or otherwise a consistent image (albeit perhaps changing during the transition) provided by the broadcaster, and are used while phasing in and out of the replay segments, because the viewer typically prefers a replay with some sort of transition to signal the replay to the viewer. These may be referred to as “logo transitions” merely for purposes of identification. Also, the logo transitions typically remain the same at least for an entire game, or portion thereof, if not for an entire season.

The logos used for transitions are normally specific to the broadcaster. Such logos are typically graphical in nature and are independent of the corresponding visual content being displayed. Therefore, the logo will not typically change depending on the type of content that is being displayed. Most broadcasters do not vary the logo within a particular sporting activity and they tend to use the same logo at least for an entire season. Therefore, it is feasible to efficiently and robustly model transitions that sandwich replay segments on the basis of the features of the logo and identify replay segments by detecting the logos. The logo detection system may be manual with the logo being identified in some manner or otherwise provided, or fully automatic without the need to know the actual logo a priori where the logos are learned in an unsupervised manner.

The summarization of video may be based upon identifying replay segments. Then a modified video stream may be created based upon the identification of the replays. The modified stream may include the replays without additional material there between, or may include additional video material between the replay segments. In any case, the resulting video stream is of a shorter duration than the original video stream, or otherwise the replay segments are temporally spaced closer together in the modified video stream. Moreover, the modified video stream may be a set of pointers to the original video stream indicating those portions of the original video stream that comprise the summarization, while avoiding the need to actually modify the video stream itself.

Overview of a Replay Structure

A replay segment in sport programs, as depicted in FIG. 1 typically contains different types of frame/fields: a starting logo transition, a replay segment, and an ending logo transition, all of which typically follows an important event. The starting logo transition and the ending logo transition sandwich (with or without intervening frames) the replay segment. In many cases it may be observed that replay segments utilize slow motion effects to make a stronger visual impact, by repeating the fields, playing back fields captured by high-speed motion cameras at regular play back speed (effectively slow motion), etc.

The starting logo transition and the ending logo transitions marking the start and the end of replay segments, respectively, typically comprise a gradual transition incorporating a fade in and out, cross/additive-dissolve and wipes, and contain the logo(s) of the broadcaster or a special event. Normally the length of a logo transition is about 1 second. By way of illustration, a starting logo transition in the CBS 2000 Super Bowl broadcast, containing the CBS logo and the Super Bowl logo, is shown in FIG. 2. An ending logo transition in the CBS 2000 Super Bowl broadcast, containing the CBS logo and the Super Bowl logo, is shown in FIG. 3. It may be observed that the logo's position on the frames, the color of the logo, the shape of the logo, and/or the size of the logo change during the transition. The logos, even at their full size, usually occupy only a part of an entire frame. Also, the background in a logo transition gradually changes from one content to another.

It may be observed that a logo transition contains a set of consecutive frames each of which includes an image of the logo, albeit with a slightly different appearance. In some cases, the logo will not change appearance and/or location during the transition. It is normally sufficient to select one frame with a distinguishable logo as a logo template to represent the starting or ending logo transition. In some cases, a logo image may be obtained from a source other than the video or otherwise based upon multiple frames, as desired. In addition, the logo template is preferably represented as an image, but may likewise be represented by other characteristics, such as for example, a set of textures, a set of image edges, a color pattern, dynamic features across frames (such as motion vectors and “flying” patterns of the logo), a set of discrete cosine transform coefficients, etc., all generally referred to as image characteristics.

Referring again to FIG. 2, the logo in any of the seven middle frames of the starting logo transition (excluding the first and last) are particularly suitable for the selection of a corresponding logo. Referring to FIG. 4, the frames of the transitions contain “unique” logos and which may serve as a template. In the basic case, merely the logo image characteristics are identified and serve as the complete logo template. However, the present inventors have determined that the resulting logo template is more robust if the size of the logo is specified, the color of the logo, the shape of the logo, and/or the position of the logo on the frame, because the background of different logo transitions show different content, while the same logo is reused in the same manner. The same process is likewise applicable to the ending logo transition, as illustrated in FIG. 3.

Overview of Automated Summarization

While the selection of the logo may performed manually or otherwise obtained, the system preferably identifies a logo template, which may include the logo image, the logo size, the logo color, the logo shape, and/or the logo position, in an unsupervised fashion free from user input, as illustrated in FIG. 5. Based upon the identified logo template(s) the logo transitions within the video are identified. The replay segments are identified based upon the identified logo transitions. With the replay segments identified the summarization may be constructed in a suitable manner.

Identifying the logo template for the starting or ending logo transition is preferably based upon the same structure, namely, the color logo image with a consistent size and shape at a consistent spatial region in the frame. Except for the logo, the image content of a logo transition is arbitrarily different as they are usually spaced apart by at least several hundreds of frames, as depicted in FIG. 6.

General Automated Logo Detection System

One automated technique to identify a logo template is to directly find frames with the same logo(s) in a long sporting program. However, there are typically many frames in the video that are very similar but are not related to logo transitions, such as totally black or white frames within commercial segments. While potentially feasible, and within the scope of the invention, the direct searching technique is difficult and computationally expensive.

Another automated technique to identify a logo template is to directly search for logos that occur only in certain portions of a frame. While this may reduce the search field, and within the scope of the invention, this restricted direct searching technique is still difficult and computationally expensive.

Referring to FIG. 7, to reduce the computational complexity of the system and reduce the likelihood of identifying a false logo template, a preferred technique involves using the slow-motion replay segment detection technique taught by Pan et al. entitled Detection Of Slow-Motion Replay Segments In Sports Video For Highlights Generation, Proceedings of International Conference on Acoustic, Speech and Signal Processing (ICASSP), 2001. This technique provides an indication of those portions of the video that are likely to contain replay segments, albeit slow-motion replay segments. The search region for logos is then primarily restricted to regions surrounding the slow-motion replay segments, such as within a few hundred frames (i.e., before and after) (e.g., less than +−1000 frames).

While temporal restriction of the search region is typically sufficient, the logos normally appear within the same general spatial region of the frame, such as the central portion of the frame. This consistent presentation of the logo may be as a result of the broadcast provider's desire to have their logo readily observed by the viewer. A spatial search region within the central portion of the frame, such as a square or rectangle, may be used for logo template identification. The search region may be varied in size, as desired. The best logo template for a particular logo image may be defined by a search region (for a given spatial region) having the greatest amount of the logo contained therein with the least corresponding background. FIG. 8 illustrates two logo search regions, both of which are centrally located within the frame.

Specific Automated Logo Detection System

Referring to FIG. 9, a more detailed system for the unsupervised identification of a logo template is illustrated. A slow motion detector detects slow motion replays. One suitable slow motion replay detector detects discontinuity in pixel wise intensity-based differences of adjacent frames, and uses forward and backward hidden Markov Models to detect the boundaries of slow motion segments. See, Pan et al. entitled Detection Of Slow-Motion Replay Segments In Sports Video For Highlights Generation, Proceedings of International Conference on Acoustic, Speech and Signal Processing (ICASSP), 2001.

The slow motion replay segments may be contained within a commercial. Accordingly, such slow motion segments contained within commercial segments are eliminated as potential candidates for logo template identification. A suitable commercial filter is disclosed by Pan et al. in a paper entitled Detection Of Slow-Motion Replay Segments In Sports Video For Highlights Generation, Proceedings of International Conference on Acoustic, Speech and Signal Processing (ICASSP), 2001.

With the slow-motion replays detected and the commercials filtered a logo template identification is performed, as described below.

Logo Template Identification

After commercial filtering, the logo template identifier preferably uses M slow motion segments (M>2). A logo template may be determined from just 2 slow motion segments. Specifically, the system first detects two most similar frames and areas in two sets of a few hundreds frames that surround the two slow motion segments. The most similar frames and areas are potentially identified as the logo frames and logo areas, which for purposes of discussion may be referred to as the “2-Slow-Motion Segments algorithm”. The system then uses the detected logo frame as a template to detect the rest of the logo frames in a sports video.

In practice, however, the logo template identified based only by two slow-motion segments is potentially unreliable due to the following reasons:

-   -   (a) the slow-motion segments algorithm is not 100% reliable (one         or both slow-motion segments may not be true slow motion         segments),     -   (b) the commercial filtering algorithm is not 100% reliable (a         commercial slow motion segment does not have logo frames), and     -   (c) the 2 slow-motion segments algorithm itself is also not 100%         reliable.

Therefore a M-Slow Motion Segment detection algorithm increases the reliability. Such a technique uses slow-motion M−1 detected logo frames and logo areas by pairing with M−1 other slow-motion segments and repeatedly running the 2-slow-motion segments algorithm M−1 times. This “M−1 to 1” redundancy helps ensures the robustness and accuracy of the algorithm.

Overall Slow Motion Segment Discussion

The 2-slow-motion segments algorithm will be discussed which is then extended to the M-slow-motion segments algorithm, and the distance measurements. An example result of the 2-slow-motion segments algorithm is illustrated. Then a table is presented that slows a M×M table that is used to organize the results from different pairs of slow-motion segments. Finally a discussion of the criteria of choosing a logo template from multiple detected logo frames is presented.

2 and M-slow-motion Segment Techniques

The 2-slow motion segment technique, which is then expanded for the M-slow motion segments technique may include the following steps:

-   -   (1) Take L₁ frames before and L₂ frames after their starting         point frames of slow-motion m and slow-motion n (m≠n) to build         two queues of frames, Q_(m) and Q_(n), respectively. Define K         possible rectangular logo areas located at the center of a         frame.     -   (2) Pick any frame i from Q_(m) and frame j from Q_(n).         Calculate the distance d^((k)) (i, j) of the area k in frame i         and j.     -   (3) Find logo frames ind_(mn) in Q_(m) and ind_(nm) in Q_(n),         respectively, and the logo area k_(mn) by finding the minimum         distance d_(mn) among all possible d^((k))(i, j) as:

${ind}_{mn},{ind}_{nm},k_{mn},{d_{mn} = \underset{i,j,k}{\arg\;{\min\left( {d^{(k)}\left( {i,j} \right)} \right)}}}$ i ∈ Q_(m), j ∈ Q_(n), k = 0, 1, …  K − 1 This concept is illustrated in FIG. 10.

Related Distance Measurements

The distance d^((k))(i, j), may be defined as d ^((k))(i, j)=βd ^((k)P)(i, j)+(1−β)d ^((k)H)(i, j), where 0<β<1 is the weight, d^((k)P)(i, j) is the pixel wise intensity-based mean-square difference (MSD), and d^((h)H)(i, j) is the color histogram-based MSD. Pixel wise intensity-based MSD may be defined as:

${d^{{(k)}P}\left( {i,j} \right)} = {\frac{1}{N^{(k)}}{\sum\limits_{n \in \;{{area}\mspace{14mu} k}}{{{I\left( {n,i} \right)} - {I\left( {n,j} \right)}}}^{2}}}$ where I(n, i) is the intensity of the pixel with index n in frame i, and N^((k)) are the size of area k. Because of this normalization, d^((k)P) (i, j) may be independent from the size of area k. Color histogram-based MSD may be defined as:

${d^{{(k)}H}\left( {i,j} \right)} = {\sum\limits_{l}{{{H^{(k)}\left( {l,i} \right)} - {H^{(k)}\left( {l,j} \right)}}}^{2}}$ where H^((k))(l, i) is the value of bin l in the color histogram of area k of frame i and is normalize so that Σ_(l)H^((h))(l, i)=1. d^((k)H) (i, j) may also be independent from the size of area k. The color space where H^((k))(l, i) is calculated (RGB, HSV, or others), the number of bins, and the configuration of bins are chosen by considering various factors, such as computational cost. For example, one could choose the RGB space, 16 bins that are evenly distributed from 0 to 1 for the normalized R component, R/(R+G+B), and the normalized G component, G/(R+G+B), respectively.

The pixel wise intensity-based MSD d^((k)P)(i, j) captures structural information while the color histogram-based MSD d^((k)H)(i, j) captures color information. Nevertheless, the two MSDs have different ranges: d^((h)P)(i, j) could be as big as thousands, while d^((k)H)(i, j) usually is smaller than 1. Therefore, the weight b is chosen so that d^((k)P)(i, j) and d^((k)H)(i, j) make the same (or similar) contribution in d^((k))(i, j).

A typical result obtained by the 2-slow motion segment algorithm is depicted in FIG. 11. FIG. 11 shows d^((h))(i, j) computed for one rectangular area. The spike, which indicates the matching of multiple frames in the two logo transitions, is strong and easy to detect. The lowest value is designated as d^((k)) _(min)(i, j), its index in Q_(m) as ind^((k)) _(mn), and in Q_(n) as ind^((k)) _(nm). It is noted that d^((h)) _(min)(i, j) is the extreme distance for one rectangular area. The system preferably considers all the rectangular areas to find d_(min)(i, j), ind_(mn), ind_(nm), and k_(mn).

M×M Table of FIG. 9

Because each pair of slow motion segments creates two detected logo frames and areas, and M slow motion segments create M(M−1)/2 pairs, M slow motion segments have M(M−1) detected logo frames and areas. The detected results in an M×M table without the M diagonal elements, as shown in FIG. 9.

Cell (n, n) of the table is empty. Cell (m, n) (m≠n) contains ind_(mn) and k_(mn), the indexes of the logo frame and area, of slow motion segment m, which is obtained from slow motion segments m and n. Therefore, Row m of the table contains M−1 indexes of the logo frames in slow motion segment m. Cell (n, m) contains ind_(nm) and k_(nm), the indexes of the logo frame and area of slow motion segment n, which is also obtained from slow motion segments m and n (k_(nm=)k_(mn)) Therefore cells (m, n) and (n, m) are filled simultaneously, and the system may need to run the two slow motion segments algorithm M(M−1)/2 times.

Some of the M slow motion segments may not contain logo transitions. As a result, running the two-slow motion segments algorithm on them may at times generate false logo frames with big minimum distance d_(mn). Therefore, when cells (m, n) and (n, m) are filled, the system may also checks the value of d_(mn): Only if d_(mn) is above a threshold should the two cells be left empty. This threshold may be determined empirically, for example.

The above threshold reduces the false logo frames with large minimum distance d_(mn). To eliminate those false logo frames with small minimum distance d_(mn), the system uses the fact that up to M−1 detected logo frames of one slow motion segment should be within the temporal distance range of approximately 1 second because logo transitions usually are shorter than 1 second. To exploit this temporal constraint, the system may take advantage of the M×M table in FIG. 9.

In the table, row m in the table contains M−1 indexes of the detected logo frames of slow motion segment m. If N of the M slow motion segments have the same logo transitions, then in the table, there are N−1 rows, each of which has N−1 detected temporally close logo frames. For example, if slow motion segments 1, 2, and 3 of the six slow motion segments have logo transitions, then each of rows 1, 2, and 3 have two close ind_(mn), that is, the differences of ind₁₂ and ind₁₃, ind₂₁ and ind₂₃, and ind₃₁ and ind₃₂ are within approximately 1 second.

Criterion for Final Decision of Logo Template

To detect a “true” logo template, the system may consider the detection as a success when N, N>M/2, of M slow motion segments containing logo transitions and their logo frames have been correctly detected. Due to the noise or other factors, in practice, the system may not be able to find in the table N−1 rows, each of which contains N−1 temporally close logo frames. Therefore, a suitable relaxed criterion is that if in any row(s) of the table, N−1 logo frames are within the temporal distance of approximately 1 second, then the corresponding slow motion segment of the row contains a logo transition and these detected logo frames are true.

If the above criterion is satisfied, the system may then choose the logo template and logo area by finding minimum d_(mn) associated with the “true” detected logo frames. If one minimum d_(mn) is associated with two logo frames, and the system may randomly pick one of them as the logo template. If N<M, then the system may go back and replace those slow motion segments without two true logo frames with new slow motion segments and recalculate the table.

Logo Frame Detection Using Detected Logo Template

After the system detects the logo template and its area, the system uses these pieces of information to locate logo frames in the game in any suitable manner. In the preferred system, the system first calculates the distances between the detected logo template with every frame in the game using the two distance measurements: pixel wise intensity-based MSDs and color histogram-based MSDs. Assuming the independence of the two MSDs, the system may use two separate probability models for the two MSDs. From the two models, the system may then locate those potential logo frames with their a posteriori probabilities.

Pixel Wise Intensity-Based MSDs

The system may designate d^(P)(i) as pixel wise intensity-based MSDs,

${d^{P}(i)} = {\frac{1}{N}{\sum\limits_{n \in \;{{logo}\mspace{11mu}{area}}}{{{I\left( {n,i} \right)} - {I_{logo}(n)}}}^{2}}}$ where I(n, i) is the intensity of the pixel with index n in frame i, I_(logo)(n) is the intensity of the pixel with index n in the logo frame, and N is the size of the logo area. One example of log(d^(P)(i)) is shown in FIG. 12 indicating the logo frames.

To describe the pixel wise intensity-based MSDs using the probability language, two classes may be introduced: L represents the class of non-logo frames and Q represents the class of logo frames, and two probability densities associated with the two classes: p^(P)(x|Q) and p^(P)(x|P), where x=log(d^(P)(i)). The logarithm of d^(P)(i) is easy to model.

Probability density p^(P)(x|Q), a probability describing non-logo frames, is modeled by a Gaussian distribution. The mean m_(P) and covariance s_(P) of p^(P)(x|Q) are estimated by log(d^(P)(i)) of all the frames including both logo and non-logo frames. Because the number of logo frames is much smaller than the number of non-logo frames, the estimation is reasonable. The histogram of log(d^(P)(i)) is shown in FIG. 13 which has a rough shape of a Gaussian distribution.

Probability density p^(P)(x|P), a probability describing non-logo frames, is difficult to estimate because logo frames are unknown and they are in small number. For the sake of simplicity, the system may assume that p^(P)(x|P) is a uniform distribution between 0 and x₀, where x₀ denotes the threshold that separates the classes of logo and non-logo frames and its value is set to m_(P)−2s_(P), as shown in FIGS. 12 and 13. Therefore, p^(P)(x|P)=1/(m_(P)−2s_(P)).

Color Histogram-Based MSDs

The system may designate d^(H)(i) as color histogram-based MSDs,

${d^{H}(i)} = {\sum\limits_{l}{{{H^{(k)}\left( {l,i} \right)} - {H_{logo}^{(k)}(l)}}}^{2}}$ where H^((k))(l, i) is the value of bin l in the normalized color histogram of logo area k of frame i and H^((k)) _(logo)(l) is for the logo template.

Because the logo template typically has a small range of colors, it may be inefficient to uniformly distribute the color histogram bins over the entire color space. This is in contrast to the previous learning stage. To achieve the best results, when the number of bins is fixed, the position and the width of each bin should be adjusted to capture maximal color information in the logo template. To reduce the computational complexity, the system may set the widths of the bins in the following manner. The starting and the ending bins of every dimension of the color space have much wider and adjustable widths than the rest of the bins with fixed widths. When the width of the starting bin is adjusted, the system may also change the position (but not the width) of the rest of the bins, as shown in FIG. 14. Because colors are discrete, the possible widths of the starting bin are limited. All the possibilities may be tested, and for each one the system calculates:

${enp}_{logo} = {\sum\limits_{l}{{H_{logo}^{({(k)}}(l)}{\log\left( {H^{(k)}(l)} \right)}}}$ and then picks the configuration that has the maximum enp_(logo).

As the pixel wise intensity-based MSDs, the system may also introduce two probability densities: p^(H)(y|Q) and p^(H)(y|P), where y=log(d^(H)(i)) to model color histogram-based MSDs. p^(H)(y|Q) is Gaussian distribution with parameters m_(H) and S_(H), and p^(P)(y|p) is the uniform distribution between 0 and y₀, where y₀ denotes the threshold that separates classes of logo and non-logo frames. The value of the threshold y₀ is set to be m_(H)−2s_(H), Therefore, P^(H)(Y|p)=1/(m_(H)−2s_(H)).

The logo frames are detected by considering both MSDs. Specifically, to mark frame j as a logo frame, both log(d^(P)(i)) and log(d^(H)(i)) must be smaller than the thresholds x₀ and y₀, respectively. In other words, both MSDs need to recognize the frame as a logo frame. The corresponding a posteriori probability p(P|d^(P)(j), d^(H)(j)), which describes the reliability of the detected logo frame j, is calculated by the Bayes' rule in the probability theory under the assumption that p(d^(P)(j), d^(H)(j)|P)=p(d^(P)(j)|P)p(d^(H)(j)|P).

The detected logo frames may not be identified as starting or ending logo transitions, although the system uses different starting and ending logo templates. Because of the similarities between the starting and the ending logo transitions, some starting logo frames may be identified as ending logo frames, and vice versa. On the other hand, because of the difference between starting and ending logo transitions of sports programs, if the system uses only one logo template for both starting and logo transitions, some logo frames may be missed.

Replay Segment Identification

After successfully detecting the logo transitions, the remaining task is to identify the replay segments. This is not a trivial task, as the logo transition detection algorithm may not necessarily differentiate between starting and ending logo transitions. In detecting the replay segments, a priori information on the lengths of replays provides useful information. Usually replays are 10-20 seconds long and the temporal distances between replays are much longer. Nevertheless, when exceptions happen, for example, replays are very long, or several replays are positioned back-to-back, using the information on the lengths of replays alone may not be enough.

To solve this problem, besides the a priori information on the lengths of replays, the system may once again use its previous slow motion detection algorithm. Specifically, the system may use patterns of relationships between the detected logo frames and slow motion segments to guide the grouping of them into replays because a slow motion segment is typically sandwiched by two logo transitions.

The rest of this discussion discusses five patterns of the relationships between slow motion segments and logo frames, and a Rayleigh density function that may be used to model the duration of replays. Then a five-scan probabilistic inference algorithm groups the detected logo frames and slow motion segments into the five patterns of replays based on the probability of duration of replays and the a posteriori probabilities associated with detected logo frames.

Relationship Between Slow Motions and Logo Frames

A typically replay contains a slow motion segments and is sandwiched by starting and ending logo transitions. By way of example, as shown in FIG. 15, the system may use the following five patterns of the relationship between detected slow motion segments and logo frames:

-   -   (1) Two logo frames and one slow motion segment between them are         detected.     -   (2) The end logo frame and one slow motion segment are detected.     -   (3) The starting logo frame and one slow motion segment are         detected.     -   (4) Only two logo frames are detected without a slow motion         segment.     -   (5) Only one slow motion segment without logo frames is         detected.

When replays in the five patterns are back-to-back connected together, the system may use the following information on the duration of replays to separate them.

Duration of Replays

In sports programs, duration of replays can be well modeled by a Rayleigh distribution:

$\left. {{{p\left( L \right.}}G} \right) = {\frac{L - L_{0}}{\sigma_{L}^{2}}{\exp\left( {- \frac{\left( {L - L_{0}} \right)^{2}}{2\sigma_{L}^{2}}} \right)}{u\left( {L - L_{0}} \right)}}$ where G represent the class of replays, L represents the duration a replay, s_(L) is the covariance of L, and u(x) is the unit step, that is, u(x)=1 when x≧0; u(x)=0 when x<0. Because the duration of replays is normally longer than three seconds, the origin of the Rayleigh distribution is offset by L₀=3 seconds. FIG. 16 shows the comparison between the normalized histogram of 122 replays and the Rayleigh function with s_(L) estimated from them.

Five Scan Probabilistic Inference Engine

The five patterns should not be determined simultaneously. For example, pattern 2 may wait until pattern 1 has been determined, because pattern 1 may be grouped into pattern 2 while pattern 2 does not have the risk of being grouped into pattern 1. Therefore, the system develops an algorithm that scans the detected slow motion segments and logo frames by 5 times. Each scan only groups some slow motion segments and logo frames into one pattern of replays.

The preferred order of the five scans in the algorithm is following

-   -   1. Scan 1 scans all the data to group two logo frames and one         slow motion segment with the pattern 1;     -   2. Scan 2 scans all the ungroup data to group one frames and one         slow motion segment with the pattern 2;     -   3. Scan 3 scans all the ungroup data to group one frames and one         slow motion segment with the pattern 3;     -   4. Scan 4 scans all the ungroup data to group two logo frames         with the pattern 4;     -   5. Scan 5 scans all the ungroup data to mark one slow motion         segment with the pattern 5.

In the first four scans of the algorithm, a probability describing the confidence on the possible replays is inferred from the a posteriori probabilities of logo frames and the probability of replay duration p(L|G):

-   -   (1) For pattern 1 and 4 that have two logo frames: i and j, the         probability is p(L, G|d^(P)(i), d^(H)(i); d^(P)(j), d^(H)(j)).         This probability may be interpreted as given the pixel wise         intensity-based and color histogram-based MSDs of two detected         logo frames i and j: (d^(P)(i), d^(H)(i)) and (d^(P)(j),         d^(H)(j)), the probability that this segment from frame i to j         is a replay and the length is L.     -   If p(L, G|d^(P)(i), d^(H)(i); d^(P)(j), d^(H)(j)) exceeds an         empirically chosen threshold, then the segment from frame i to j         is a replay.     -   p(L, G|d^(P)(i), d^(H)(i); d^(P)(j), d^(H)(j)) is calculated         from the a posteriori probabilities of logo frames and the         probability of replay duration p(L|G). The following is the         derivation.     -   The system knows that:         p(L, G|d ^(P)(i), d ^(H)(i); d ^(P)(j), d ^(H)(j))=p(G|d         ^(P)(i), d ^(H)(i); d ^(P)(j), d ^(H)(j)) p(L|G)     -   where p(G|d^(P)(i), d^(H)(i); d^(P)(j), d^(H)(j)), the         probability that the segment is a replay given (d^(P)(i),         d^(H)(i)) and (d^(P)(j), d^(H)(j)), is the same as p(P|d^(P)(i),         d^(H)(i); d^(P)(j), d^(H)(j)), the probability that frames i and         j are logo frames given (d^(P)(i), d^(H)(i)) and (d^(P)(j),         d^(H)(j)). Because the MSDs of two frames are independent, the         system further has:         p(P|d ^(P)(i), d ^(H)(i); d ^(P)(j), d ^(H)(j))≈p(P|d ^(P)(j), d         ^(H)(j)) p(P|d ^(P)(i), d ^(H)(i))     -   where a is a normalization factor.     -   Finally,         p(L, G|d ^(P)(i), d ^(H)(i); d ^(P)(j), d ^(H)(j))≈p(P|d         ^(p)(j), d ^(H)(j)) p(P|d ^(P)(i), d ^(H)(i)) p(L|G).     -   (2) For pattern 2 and 3 that only have one logo frame: i, the         probability is p(L, P|d^(P)(i), d^(H)(i)). which is interpreted         as given the pixel wise intensity-based and color         histogram-based MSD of the detected logo frames i: (d^(P)(i),         d^(H)(i)), the probability that this segment is a replay and the         length is L. Similarly, the system uses an empirically chosen         threshold on p(L, P|d^(P)(i), d^(H)(i)) to decision. Following         the same procedure above, the system obtains:         p(L, G|d ^(P)(i), d ^(H)(i))=p(P|d ^(P)(i), d ^(H)(i)) p(L|G).

Finally after completing five passes, the system may leave remaining ambiguous logo frames as errors.

Information of replay segments may be automatically extracted using the described technique or in combination with other types of information in providing accurate and versatile video summary highlights.

Scoreboard Detection

A number of techniques have been developed to detect the existence of text in video. These text identification techniques attempt to solve the general problem of identifying text in video and localization in video. In many cases these techniques identify potential regions of text in video as artificial regions that have high contrast and high spatial frequency, and remain stable along the time axis for tens to hundreds of frames. Many of the features identified in these techniques include comers, edges, and texture, which may be extracted in the spatial domain or in a converted domain such as the wavelet domain. High-level classifiers are usually employed by the techniques such as multi-layer neural network, K-means algorithm, or preset thresholds. See, A. Wernicke, R. Lienhart, “On the segmentation of text in videos,” IEEE ICME 2000, vol.3, pp 1511-1514, 2000; H. Li, D. Doermann, O. Kia, “Automatic text detection and tracking in digital video, ” IEEE tran. Image processing, vol.9 no. 1, Jan. 2000; T. Sato, T. Kanade, E. K. Hughes, M. A. Smith, S. Satoh, “Video OCR: indexing digital news libraries by recognition of superimposed captions,” in ACM Multimedia Systems Special Issue on Video Libraries, Feb. 1998; J. Xie, X. -S. Hua, X. -R. Chen, W. Liu, H. -J. Zhang, “A video text detection and recognition system,” IEEE ICME 2001, 2001; M. Bertini, C. Colombo, A. Del Bimbo, “Automatic caption localization in videos using salient points,” IEEE ICME 2001, 2001; V. W U, R. Manmatha, E. M. Riseman, “TextFinder: an automatic system to detect and recognize text in images,” IEEE PAMI, vol.21, no. 1, Nov. 1999. Unfortunately, these techniques are highly computationally intensive and the resulting performance is poor.

In order to determine interesting segments of the video for summarization, such as replay segments, the present inventors determined that the existence of a scoreboard in the video provides an indication of an associated replay segment and also potentially an interesting event. For example, a scoreboard is overlaid on the frames of football and baseball broadcast video. As an initial matter the spatial position of the scoreboard, if it exists in a frame, should be determined.

To determine important segments, such as replay segments, the present inventors determined that typical production practice followed by the producers of football and baseball broadcast programs: scoreboards are not overlaid on frames during replays, may be used to determine or otherwise verify the identification of replay segments. It may be desirable to detect and filter out replay segments, for example in generation of game summaries composed of only unique event segments, from a set of segments containing events and replays of those events. Events and replays of events can be automatically detected using any suitable technique, such as slow motion replay techniques.

The present inventors determined that the scoreboard may be detected by considering unique features associated with the scoreboard in broadcast video. Specifically, the system may make use of one or more of the following cues:

-   -   (1) there is only one scoreboard in a frame;     -   (2) a scoreboard is either at one, or one of the two possible         locations during a particular sports video program (e.g., one         location in a baseball broadcast, and either top left or top         right in a football broadcast depending on the team in offence);     -   (3) most frames are dominated by the court or field; and     -   (4) a scoreboard appears in the frames of“plays”. A “play” is         defined as a segment in which the game is ongoing and players         are in action.

As discuss below, a scoreboard detection technique may be used in combination with automatic identification of replay segments in broadcast video. A segment in general may be further characterized by the existence or non-existence of an associated scoreboard.

A scoreboard is rich with information that is useful for an audience to understand and follow a game. For example, a scoreboard in a baseball game typically shows the scores, the current inning number, the strike count, and the out count. For example, a scoreboard in a football game broadcast typically shows the scores, the quarter number, the game clock, the play clock, and the attempt number. For example, in a soccer game broadcast, the scoreboard typically shows the score and the game time. Detection of the existence scoreboard is an initial task in identifying the information in the scoreboard.

The existence or non-existence of a scoreboard overlay on the video gives information about the current status of a sporting event, such as a football game or a baseball game. It indicates whether the game is being actively played, or paused/stopped, respectively. In baseball or football broadcast video, a scoreboard is normally only shown in the frames of an ongoing play segment; scoreboard is not shown in replay or non-play segments. In a soccer game, on the other hand, a scoreboard is normally always on at every frame because soccer is not the type of“play” and “non-play” game. Furthermore, locations of the scoreboard also tell audiences which team is at offence or defence in a football game. For football video, the scoreboard on the left side of the screen indicates that the team on left-hand side is at offence and the team on right-hand side is at defence, and vice versa.

The shape of a scoreboard and its position within a frame are broadcaster-dependent. For example, as shown in FIG. 17, Fox Sports usually puts a strip bar with its length spanning the whole frame at the top for both baseball and football. ESPN uses a close-to-square rectangular bar at the top-left of a frame in a baseball broadcast video, and a rectangular bar at the top-left of a frame or the top-right of a frame, depending on which side is at offense in a football game. Examples of various types of scoreboards typically used in a football broadcast are shown in FIG. 17.

Initially the system should automatically detect the frames that contain a scoreboard overlay in broadcast sports video, and accordingly localize the position of the scoreboard. It is also be to be understood that the system may include manual identification with the assistance of user input of the location of the scoreboard overlay. The preferred scoreboard technique has two main parts: training and inference. In many cases it is desirable to perform the training in an on-line, low-latency implementation. For a low-latency implementation the training is preferably performed in two parts, where the second training is invoked only when the first training is not sufficient and the second training is integrated into the inference phase.

To meet the requirements of on-line, low latency implementation, the first training may use a limited number of frames for training. In the case of baseball, where the scoreboard location does not change, the first training is sufficient and the second training step is skipped. This is also the case for football video if the broadcaster uses a single scoreboard as shown in FIG. 17( a). In case of football, when the broadcaster uses two different positions for the scoreboard, e.g., as shown in FIGS. 17( b) and 17(c), depending on the team at the offence, the second training step may be needed, as described later. Due to the on-line and low-latency requirements, if necessary, this additional training is preferably performed in parallel to the inference process and only with a limited number of frames.

In the inference phase, if all the necessary parameters are obtained in the first training step, the learned template is compared to the corresponding area of each frame to determine the existence of a scoreboard. Otherwise, the inference process engages the second training step till it is completed. After completion of the second training step, the inference continues without further training.

The scoreboard detection may be applied to filtering out replays from the “candidate plays” otherwise detected. Candidate play segments may be plays or replays of plays, non-plays that are falsely detected, or otherwise general segments of the video. The existence/non-existence of a scoreboard may be used as a cue in discriminating plays from replay and non-play segments in case of football and baseball broadcast videos. Using an additional cue provided by slow motion detection, the system may resolve candidate plays into plays, replays, likely replays or non-plays. Otherwise, the existence or non-existence of an associated scoreboard may be used to select segments in general.

First Training

Training in general is based on the fact that during an entire broadcast video, scoreboards are normally at the same location(s) in different frames, and the remaining areas of frames are dominated by the field or court in most times. Therefore, if a sufficient number of frames containing scoreboard are averaged, then the resulting average image has a clear scoreboard and smeared background that is dominated with the color of the field or the court. In essence, the scoreboard is less blurred than the background. It is to be understood that any statistical process using a plurality of frame may be used, as desired. As an example, an average of 3500 frames containing scoreboard in a football broadcast video is shown in FIG. 18.

The preferred framework of training is shown in FIG. 19. The steps of first training are discussed below.

Averaging

A sufficient number of frames (e.g., >1) with scoreboard are used as training data. To make the training fully automatic, the system may use “candidate plays” in baseball and football games that are detected by other techniques. While some frames in detected candidate plays may not have a scoreboard, in most cases a substantial number (e.g., a majority) of the frames in the detected candidate plays do contain a scoreboard. By averaging (any statistical process) a sufficient number of these frames, the content present in a sufficient number of the frames will dominate the average image. In other words, the scoreboard in the average image remains substantially clear while the rest of the average image is blurred due to averaging a large number of frames in detected plays.

For an online, low-latency real-time video processing system, short training time is useful. In one particular implementation, the minimum number of training frames is set to 3500. A multitude of candidate plays are typically used in order to reach the minimum number of training frames. Averaging is conducted in the RGB color space. It is to be understood that other color spaces may also be used, as desired. One example of the image generated by averaging 3500 frames is shown in FIG. 18.

Edge Detection by Prewitt Edge Operator

As shown in FIG. 20, edge detection may be applied to resulting average image. Because the scoreboard in the average image is sufficiently clear and the background is sufficiently blurred (e.g., otherwise the background is more blurred than the scoreboard), the edge detection operator is not distracted and the scoreboard will respond strongly to the edge detection operator. Many methods of edge detection are applicable. In one implementation, the colored average image may be converted into a gray-level image, and then use the Prewitt edge detection method to detect edges in the gray image. The two 2-D convolution kernels of Prewitt detection may be:

−1 −1 −1 0 0 0 1 1 1 −1 0 1 −1 0 1 −1 0 1

The first kernel aims at detecting horizontal edges and the second kernel aims at detecting vertical edges. Thereafter, the detected edge image may be binarized. One example of the resulting binary image is shown in FIG. 20 (a), from which one can observe that only the scoreboard area (top left corner) is populated by edges due to its relatively rich texture of numbers and texts information within.

Projection onto X & Y

The 2-D edge images may be projected horizontally and vertically, and obtain two 1-D distributions, as shown in FIGS. 20( b) and 20(c).

Determination of the Template

The thresholds to the two 1-D projections may be set in order to determine the position(s) and size of the scoreboard. Specifically, the starting and ending points of the peak of the vertically projected distribution, (y₁, y₂), define the vertical position and size of the scoreboard. The situation is the same for the horizontally projected distribution in the case of a baseball game broadcast video. In broadcast video of a football game, however, a scoreboard may have two possible positions in a frame, and two positions are horizontally symmetric along the vertical central line of the frame. Therefore, there are two peaks in the horizontal distribution (but still one peak in the vertical distribution), and two sets of starting and end points, (x₁, x₂) and (x₃, X₄), define the two possible positions of the scoreboard. Finally, a template is built, consisting of the colored average image and position information (x₁, x₂) and (X₃, x₄) and (y₁, y).

In the training phase for a football video, however, if scoreboards in the most frames in the training data set are dominantly on the one single side due to the particular game dynamics, then the training is only able to yield one position. In that case, the additional online training step is necessary to train for the other position.

Inference

The framework of the inference process is shown in FIG. 21. It has a correlation module and an optional second training module. The core inference process is based on simple correlation computation. Correlation of each frame with the template is computed in the RGB space and thresholded.

If tmpt_(R)(x,y) is the R component of pixel (x,y) in the template image and I_(R)(x,y) is the R component of pixel (x,y) in the input image, then the correlation coefficient, coff_(R), between the R components of the template and of the input image at the scoreboard area, defined by (x₁, x₂) and (y₁, y₂), is shown in FIG. 22.

Similarly, the system may also define coff_(G) for the G component and coff_(B) for the B component. The final correlation coefficient coff is the average of coff_(R), coff_(G), and coff_(B).

If the coefficient coff is above a pre-selected threshold, then the frame is considered to contain a scoreboard at (x₁, x₂) and (y₁, y₂). In football broadcast video, if a second scoreboard position at (X₃, x₄) and (y₁, y₂) is trained, then the similar method is applied to determine if a frame contains a scoreboard at (X₃, X₄) and (y₁, y₂).

If the game is a baseball game, the second training is preferably not used. If the game is a football game, but the scoreboard position information indicates that the scoreboard is of type shown in FIG. 17( a), that is a strip spanning the top of the frame, the second training is not used. If the game is a football game, and the scoreboard position information indicates that two symmetric scoreboard positions are successfully learned during the first learning process, the second training is not used. Typically, in case of football videos where two different scoreboard positions are used, only one of the positions is learned during the first learning step Hence, for football videos where the learned template is not a strip spanning the top of the frames, and the position information indicates a single scoreboard position, the second learning is invoked within the inference step. The second learning continues till a minimum number frames is used for training.

Second Training

For football videos where the learned template is not a strip spanning the top of the frames, and the position information indicates a single scoreboard position, the inference step may include the second learning step.

The second training is based on the two observances valid in many cases: (1) the structures of scoreboards at the two different locations are usually very similar, but not identical; (2) the two possible locations are horizontally symmetric about the vertical central line of a frame The first fact indicates that the structural content of the scoreboard at the other position is unknown, while the second fact indicates that the location of the second scoreboard is known. Other structures may likewise be determined.

The second learning uses the color histogram of the scoreboard template at the already learned position, henceforth referred to as “template color histogram”. The inference module may execute the following steps when the correlation module fails to detect a scoreboard.

-   -   (1) Calculate the color histogram of the area that is         horizontally symmetric to the learned position about the         vertical central line of the frame;     -   (2) Calculate the mean-square error (MSE) between the template         color histogram and the color histogram computed in Step (1); if         the MSE falls below a threshold, then the current frame contains         a scoreboard and the area that is horizontally symmetric to the         already learned area contains the scoreboard. Otherwise, the         current frame does not contain a scoreboard and is not used for         training for the second scoreboard.     -   (3) Accumulate N frames that contain a second scoreboard,         determined according to Step 2. Then, the accumulated frames are         averaged and the area in the average image that is horizontally         symmetric to the first scoreboard is extracted and placed in the         corresponding area in the template, resulting in a template with         two symmetrically located scoreboards.

Once the number of fi-ames used in averaging in Step (3) reaches N, the second training is disengaged and pure inference continues without training.

Replay Filtering Football and Baseball Summarization

Candidate plays detected by existing algorithms may correspond to plays, replays, or non-plays. Using the results of scoreboard detection, replays or non-plays can be filtered out from the set of candidate plays in order to obtain a set of unique plays. Unique plays may be desired in forming compact summaries with no redundancy. The following 3-step decision process may be applied to the candidate plays in order to identify replays and non-plays.

-   -   (1) A candidate play is identified as a replay if the candidate         play contains no scoreboard in its frames but contains slow         motion;     -   (2) A candidate play is identified as a play if the candidate         play contains scoreboard in its frames but contains no slow         motion;     -   (3) A candidate play is identified as a likely replay/non-play         if the candidate play contains no scoreboard in its frames and         contains no slow motion either.

Under many conditions, the second learning is not needed in a batch mode implementation where the entire video to be processed is accessible. Hence, in a batch mode implementation, the second learning step within the inference process does not have to be invoked.

Since a scoreboard is widely used in many other types of broadcast sports, the methodology in this invention is also applicable to many other types of sports. Although in some sports, such as soccer, scoreboard is always shown and existence of scoreboard gives little information, detection of scoreboard as discussed here could serve as the first step of retrieving the contents in scoreboard.

A summarization presented to the user may be hierarchical in nature, if desired. The desired summary may be selected by the user. Referring to FIG. 22, the summary may be the concatenation of the replay segments. The next summary may be the concatenation of the live segments. The next summary may be the concatenation of the live and replay segments. The next summary may be the concatenation of the live, close-up, and replay segments. Also, the techniques taught herein may be applicable to other sporting broadcasts, such as for example, ice hockey.

The summary description defines those portions of the video sequence that contain the relevant segments for the video summarization. The summary description may be compliant with the MPEG-7 Summary Description Scheme or TV-Anytime Segmentation Description Scheme. A compliant media browser may apply the summary description to the input video to provide summarized viewing of the input video without modifying it. Alternatively, the summary description may be used to edit the input video and create a separate video sequence. The summarized video sequence may comprise the selected segments which excludes at least a portion of the original video other than the plurality of segments. Preferably, the summarized video sequence excludes all portions of the original video other than the plurality of segments.

A commercial detection module may be used to further refine the potential replay segments by removing those segments that are contained within commercials. In the broadcast industry, one or more black frames are inserted into the program to separate different commercials in the same commercial session. Referring to FIG. 23, an example of the distribution of black frames in a video of 35,000 frames, where a line shows the location of a black frame. Visually, it becomes apparent that the clusters of black frames are commercials. One technique for the detection of clusters, is shown in FIG. 24. The algorithm presumes that a regular program session will last at least Tm minutes. For example, Tm is typically larger than three minutes. On the other hand, it is unlikely that a single commercial will last more than two minutes. Thus, as long as black frames are used to separate different commercials in a commercial session, the preferred system will operate properly. By setting Tm reasonably large (e.g., three minutes), the system can still detect commercials even if not all the commercials in a commercial session are separated by black frames. Also, a reasonably large Tm will reduce the likelihood that the regular program is mis-classified as a commercial.

Referring to FIG. 25, the first layer of the summary is constructed using the play detection technique. The second and third layers (and other) are extracted as being of increasingly greater excitement, based at least in part, on the audio levels of the respective audio of the video segments. Also, it would be noted that the preferred audio technique only uses the temporal domain, which results in a computationally efficient technique. In addition, the level of the audio may be used as a basis for the modification of the duration of a particular play segment. For example, if a particular play segment has a high audio level then the boundaries of the play segment may be extended. This permits a greater emphasis to be placed on those segments more likely to be exciting. For example, if a particular play segment has a low audio level then the boundaries of the play segment may be contracted. This permits a reduced emphasis to be placed on those segments less likely to be exciting. It is to be understood that the layered summarization may be based upon other factors, as desired.

Referring to FIG. 26, the video summarization may be included as part of an MPEG-7 based browser/filter, where summarization is included within the standard. With different levels of summarization built on top of the aforementioned video summarization technique, the system can provide the user with varying levels of summaries according to their demands. Once the summary information is described as an MPEG-7 compliant XML document, one can utilize all the offerings of MPEG-7, such as personalization, where different levels of summaries can be offered to the user on the basis of user's preferences described in an MPEG-7 compliant way. Descriptions of user preferences in MPEG-7 include preference elements pertaining to different summary modes and detail levels.

In the case that the summarization is performed at a server or service provider, the user downloads and receives the summary description encoded in MPEG-7 format. Alternatively, in an interactive video on demand (VOD) application, the media and its summary description reside at the provider's VOD server and the user (e.g., remote) consumes the summary via a user-side browser interface. In this case, the summary may be enriched further by additional information that may be added by the service provider. Further, summarization may also be performed by the client.

Referring to FIG. 27, the output of the module that automatically detects important segments may be a set of indices of segments containing plays and important parts of the input video program. A description document, such as an MPEG-7 or TV-Anytime compliant description is generated in The Description Generation module. Summary segments are made available to the Post-Processing module by The Extraction of Summary Segments module which processes the input video program according to the description. A post-processing module processes the summary Segments and/or the description to generate the final summary video and final description. The post-processing module puts the post-processed segments together to form the final summary video. The post-processing module may transcode the resulting video to a format different that of the input video to meet the requirements of the storage/transmission channel. The final description may also be encoded, e g, binarized if it is generated originally in textual format such as XML. Post-processing may include adding to the original audio track a commentary, insertion of advertisement segments, or metadata. In contrast to play detection, post-processing may be completely, or in part, manual processing. It may include, for example, automatic ranking and subset selection of events on the basis of automatic detection of features in the audio track associated with video segments. This processing may be performed at the server and then the resulting video transferred to the client, normally over a network. Alternatively, the resulting video is included in a VOD library and made available to users on a VOD server.

It is to be understood that the locating of the “logo transitions” may be manually identified, if desired. Then other parts of the system may be based upon the manual identification.

The terms and expressions which have been employed in the foregoing specification are used therein as terms of description and not of limitation, and there is no intention, in the use of such terms and expressions, of excluding equivalents of the features shown and described or portions thereof, it being recognized that the scope of the invention is defined and limited only by the claims which follow. All references cited herein are hereby incorporated by reference. 

1. A method of processing a sports video by a computer comprising: (a) said computer receiving a video stream of a sporting event that includes a plurality of different segments, each segment represented by a video frame sequence, said video stream further including at least one replay segment which includes a starting logo followed by a plurality of replay video frames followed by an ending logo, where said replay segment is included in said received video stream and said plurality of replay video frames sequentially repeats at least one said video frame sequence presented in a segment in said received video stream; (b) said computer identifying a plurality of said replay segments of said video; (c) wherein said computer identifies the beginning of said replay segments based upon identifying a respective starting logo transition within said video; and (d) wherein said computer identifies the end of said replay segments based upon identifying a respective ending logo transition within said video.
 2. The method of claim 1 wherein said ending logo transition and said starting logo transition are different.
 3. The method of claim 1 wherein said logo transition includes a graphical image of a logo.
 4. The method of claim 1 wherein the characteristics of said logo transition are determined in a manner free from user input.
 5. The method of claim 1 wherein said starting logo transition and said ending logo transition are used for an entire said video.
 6. The method of claim 1 further comprising creating a summarization of said video by including said plurality of said replay segments, where said summarization includes fewer frames than said video.
 7. The method of claim 1 wherein said starting logo transition includes image characteristics.
 8. The method of claim 7 wherein said starting logo transition includes a logo size.
 9. The method of claim 7 wherein said starting logo transition includes at least one of a logo shape and a logo position.
 10. A method of processing a sports video by a computer comprising: (a) said computer receiving a video stream of a sporting event that includes a plurality of different segments, each segment represented by a video frame sequence, said video stream further including at least one replay segment which includes a starting logo followed by a plurality of replay video frames followed by an ending logo, where said replay segment is included in said received video stream and said plurality of replay video frames sequentially repeats at least one said video frame sequence presented in a segment in said received video stream; (b) said computer identifying the beginning of a respective said replay segment based upon identifying a respective starting logo transition within said video; and (c) said computer identifying the end of said replay segments based upon identifying a respective ending logo transition within said video.
 11. The method of claim 10 wherein said ending logo transition and said starting logo transition are different.
 12. The method of claim 10 wherein said logo transition includes a graphical image of a logo.
 13. The method of claim 10 determined in a manner free from user input.
 14. The method of claim 10 wherein said starting logo transition and said ending logo transition are used for an entire said video.
 15. The method of claim 10 further comprising creating a summarization of said video by including said plurality of said replay segments, where said summarization includes fewer frames than said video.
 16. The method of claim 10 wherein said starting logo transition includes image characteristics.
 17. The method of claim 16 wherein said starting logo transition includes a logo size.
 18. The method of claim 16 wherein said starting logo transition includes at least one of a logo shape and a logo position. 